package com.xyulu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xyulu.entity.SysUserEntity;

import java.util.List;

/**
 * <p>
 * 系统用户 Mapper 接口
 * </p>
 *
 * @author lumin
 * @since 2021-02-25
 */
public interface SysUserDao extends BaseMapper<SysUserEntity> {

    List<String> getRoleNameByLogin(String username);

    void updaStatus(Integer status, Integer id);
}
